﻿@extends("admin.base.base")
@section("title")
    <title>新增图片</title>
    <link href="{{asset('lib/webuploader/0.1.5/webuploader.css')}}" rel="stylesheet" type="text/css" />
    <link href="{{asset('css/admin/css/examine.css')}}" rel="stylesheet" type="text/css" />
    <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="{{asset('js/admin/zoom.js')}}"></script>
    <script type="text/javascript" src="{{asset('js/admin/enlarge.js')}}"></script>
    <script>
        $(function(){
            /*
             smallimg   // 小图
             bigimg  //点击放大的图片
             mask   //黑色遮罩
             */
            var obj = new zoom('mask', 'bigimg','smallimg');
            obj.init();
        });
        $(function(){
            /*
             small   // 小图
             bigimg  //点击放大的图片
             mask   //黑色遮罩
             */
            var obj = new zoom('mask', 'bigimg','small');
            obj.init();
        })

    </script>
@endsection
@section("content")
    <div class="page-container">
        <form class="form form-horizontal" id="form-article-add" enctype="multipart/form-data">
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">承办机构名称：</label>
                <div class="formControls col-xs-3 col-sm-3">
                    <span>{{$item->name}}</span>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">主办方证件类型：</label>
                <div class="formControls col-xs-3 col-sm-3">
                    <span>{{$item->sponsor_certificates_type}}</span>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">主办方证件号码：</label>
                <div class="formControls col-xs-3 col-sm-3">
                    <span>{{$item->sponsor_certificates_number}}</span>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">主办方证件所在地：</label>
                <div class="formControls col-xs-3 col-sm-3">
                    <span>{{$item->sponsor_certificates_location}}</span>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">主办方单位名称：</label>
                <div class="formControls col-xs-3 col-sm-3">
                    <span>{{$item->sponsor_name}}</span>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">主办方营业执照：</label>
                <div class="formControls col-xs-3 col-sm-3">
                    <img class="smallimg" src="{{$item->business_license}}">
                    {{--<img class="click-img2" src="{{asset('img/admin/enlarge.png')}}">--}}
                </div>
            </div>
            <img src="" alt="" class="bigimg">
            <div class="mask">
                <img src="{{asset('img/admin/close.png')}}" alt="">
            </div>
            <div class="row cl basic-point">
                <label class="form-label col-xs-4 col-sm-2">主办方机构授牌：</label>
                <div class="formControls col-xs-3 col-sm-3">
                    <img class="small" src="{{$item->base_licensing}}" style="width: 400px;">
                    {{--<img class="click-img" src="{{asset('img/admin/enlarge.png')}}">--}}
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">负责人证件号码：</label>
                <div class="formControls col-xs-3 col-sm-3">
                    <span>{{$item->person_in_charge_number}}</span>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">负责人电话号码：</label>
                <div class="formControls col-xs-3 col-sm-3">
                    <span>{{$item->person_in_charge_tel}}</span>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">电子邮件：</label>
                <div class="formControls col-xs-3 col-sm-3">
                    <span>{{$item->email}}</span>
                </div>
            </div>
            {{csrf_field()}}
            <div class="row cl">
                <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
                    <button onClick="layer_close();" class="btn btn-dark" type="button">&nbsp;&nbsp;返回&nbsp;&nbsp;</button>
                </div>
            </div>
        </form>
    </div>
@endsection
@section("js")
    <!--请在下方写此页面业务相关的脚本-->
    <script type="text/javascript" src="{{asset('lib/jquery.validation/1.14.0/jquery.validate.js')}}"></script>
    <script type="text/javascript" src="{{asset('lib/jquery.validation/1.14.0/validate-methods.js')}}"></script>
    <script type="text/javascript" src="{{asset('lib/jquery.validation/1.14.0/messages_zh.js')}}"></script>
@endsection